package com.laotou99.wmsjjj.wmsjjj.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.laotou99.wmsjjj.wmsjjj.bean.po.LOTPO;
import com.laotou99.wmsjjj.wmsjjj.repository.LOTPORepository;

/**
 * 库存查询
 * */
@Service("invService")
public class INVService {

	@Autowired
	LOTPORepository lotpoRepository;

	public String showList(JSONObject jo1) {
		System.out.println("jo1-=>"+jo1.toJSONString());
		
		
		List<LOTPO> findAll = lotpoRepository.findAll();
		
		return JSON.toJSONString(findAll);
	}

}
